/******************************************************************************
STRICTLY CONFIDENTIAL (!)
COPYRIGHT BY MAX AND JAN PEJS

File:	Inputs.h
Date:	20.07.2013
Author:	Max Pejs
******************************************************************************/
#ifndef	SIGNAL_H
#define	SIGNAL_H

#include "typedef.h"
#include "Filter.h"

class Signal
{
private:
	UInt16 rawMax, rawMin, physMax, physMin;

protected:
	UInt16 physValue;
	UInt16 rawValue;

public:
	Signal();
	Signal(UInt16 rawMax, UInt16 rawMin, UInt16 physMax, UInt16 physMin);
	UInt16 raw2phys(UInt16);
	UInt16 phys2raw(UInt16);
};

#endif // SIGNAL_H